package com.mask.sca.member.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;
import org.springframework.security.crypto.password.PasswordEncoder;

/**
 * @className：MemberConfig
 * @Description: 会员配置
 * @Author：jian
 * @Date：2025/8/1 13:31
 */
@Configuration
public class MemberConfig {
    @Bean
    public PasswordEncoder passwordEncoder() {
        return new BCryptPasswordEncoder();
    }
}
